public class Main {
    public static void main(String[] args) {
        //简化前提：ILike love = null;
        //1.基本形式
        ILike love = (int a) -> {
            System.out.println("I love you\t" + a);
        };
        //2.简化 参数类型
        love = (a) -> {
            System.out.println("I love you\t" + a);
        };
        //3.简化括号
        love = a -> {
            System.out.println("I love you\t" + a);
        };
        //4.简化花括号
        love = a -> System.out.println("I love you\t" + a);
        //运行
        love.love(520);
    }
}

interface ILike {
    void love(int a);
}


